﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SiteInfo.aspx.cs" Inherits="GreatB2C.Web.Manage.SystemSet.SiteInfo.SiteInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>网站信息配置</title>
    <link href="../../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/MasterPage.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/xtree.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="../../../Resource/Script/jquery-1.4.2.min.js"></script>

    <script src="../../../Resource/Script/jquery.validate.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $().ready(function() {
            // validate signup form on keyup and submit
            $("#form1").validate({
                rules: {
                    txtSiteName: {
                        required: true
                    },
                    txtSiteTitle: {
                        required: true
                    }
                },
                messages: {
                    txtSiteName: {
                        required: "<font class='validatemsg'>* 请输入网站名称</font>"
                    },
                    txtSiteTitle: {
                        required: "<font class='validatemsg'>* 请输入网站标题</font>"
                    }
                }
            });

        });
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
        <tr align="center">
            <td colspan="2" class="spacingtitle">
                <strong>网站信息配置</strong>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft" style="width: 20%">
                <strong>网站名称：</strong><br />
            </td>
            <td>
                <asp:TextBox ID="txtSiteName" runat="server" MaxLength="50" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>网站标题：</strong><br />
            </td>
            <td>
                <asp:TextBox ID="txtSiteTitle" runat="server" MaxLength="50" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>网站地址：</strong><br />
            </td>
            <td>
                <asp:TextBox ID="txtSiteUrl" runat="server" MaxLength="255" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>LOGO地址：</strong><br />
            </td>
            <td>
                <asp:TextBox ID="txtLogoUrl" runat="server" MaxLength="255" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>Banner地址：</strong><br />
            </td>
            <td>
                <asp:TextBox ID="txtBannerUrl" runat="server" MaxLength="255" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>站长姓名：</strong><br />
            </td>
            <td>
                <asp:TextBox ID="txtWebmaster" runat="server" MaxLength="20" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>站长信箱：</strong>
            </td>
            <td>
                <asp:TextBox ID="txtWebmasterEmail" runat="server" MaxLength="100" CssClass="inputtext" Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';">
                </asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>版权信息：</strong><br />
                支持HTML标记
            </td>
            <td>
                <asp:TextBox ID="txtCopyright" TextMode="MultiLine" runat="server" Height="80px" CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"
                    Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>网站META关键词：</strong><br />
                针对搜索引擎设置的关键词
            </td>
            <td>
                <asp:TextBox ID="txtMeta_Keywords" TextMode="MultiLine" runat="server" Height="80px" CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"
                    Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft">
                <strong>网站META网页描述：</strong><br />
                针对搜索引擎设置的网页描述
            </td>
            <td>
                <asp:TextBox ID="txtMeta_Description" TextMode="MultiLine" runat="server" Height="80px" CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"
                    Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbgbottom">
            <td colspan="2">
                <asp:Button ID="BtnSubmit" runat="server" Text="保存设置[S]" class="btnstyle_blue" Style="width: 90px;"
                    AccessKey="S" onmouseover="this.className='btnstyle_blue_over'" onmouseout="this.className='btnstyle_blue'"
                    OnClick="BtnSubmit_Click" />&nbsp;&nbsp;
                <input type="reset" name="ClearSiteInfo" value="重 填[R]" class="btnstyle_blue" id="btnSiteInfoReset" accesskey="R" style="width:70px;"
                    runat="server" onmouseover="this.className='btnstyle_blue_over'" onmouseout="this.className='btnstyle_blue'" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
